import { HTTP } from "../utils/http.js";

export class Sgin extends HTTP{
    index() {
        return this.request({
            url: 'sign/index'
        })
    }

    calendar(year, month) {
        return this.request({
            url: 'sign/calendar',
            data: {
                year, month
            }
        })
    }

    submit() {
        return this.request({
            url: 'sign/submit',
            method: 'POST'
        })
    }

    getPoster() {
      return this.request({
        url: 'sign/img'
      })
    }

    getRanking() {
      return this.request({
        url: 'sign/ranking'
      })
    }
  
  
}